[%if $call.call_style==1%]
<link href="[%$url%]public/plug/im/sky.css" rel="stylesheet" type="text/css" />
[%/if%]
[%if $call.call_style==2%]
<link href="[%$url%]public/plug/im/green.css" rel="stylesheet" type="text/css" />
[%/if%]
[%if $call.call_style==3%]
<link href="[%$url%]public/plug/im/purple.css" rel="stylesheet" type="text/css" />
[%/if%]
[%if $call.call_type==1%]
<div id="right-float-box" class="im_floatonline" style="position:absolute;right:0;">
	<div class="float-box-content">
		<div class="toptitle">
			<div class="btitle">[%$lngpack.call_title%]</div>
		</div>
		<div class="addlist">
			<ul>
				[%forlist from=$array key=i%]
					[%if $array[i].type==1%]
					<li>[%$array[i].name%] <br/> [%$array[i].code%]</li>
					[%elseif $array[i].type==2%]
						[%if $array[i].style==1%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid=[%$array[i].code%]&site=cntaobao&s=1&charset=utf-8" ><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=[%$array[i].code%]&site=cntaobao&s=1&charset=utf-8"/></a></li>
						[%elseif $array[i].style==2%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid=[%$array[i].code%]&site=cntaobao&s=2&charset=utf-8" ><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=[%$array[i].code%]&site=cntaobao&s=2&charset=utf-8"/></a></li>
						[%/if%]
					[%elseif $array[i].type==3%]
						[%if $array[i].style==1%]
						<li>[%$array[i].name%] <br/> <a href="skype:[%$array[i].code%]?call"><img src="http://mystatus.skype.com/smallclassic/[%$array[i].code%]"/></a></li>
						[%elseif $array[i].style==2%]
						<li>[%$array[i].name%] <br/> <a href="skype:[%$array[i].code%]?call"><img src="http://mystatus.skype.com/bigclassic/[%$array[i].code%]" width="110"/></a></li>
						[%elseif $array[i].style==3%]
						<li>[%$array[i].name%] <br/> <a href="skype:[%$array[i].code%]?call"><img src="http://mystatus.skype.com/mediumicon/[%$array[i].code%]" />[%$array[i].code%]</a></li>
						[%elseif $array[i].style==4%]
						<li>[%$array[i].name%] <br/> <a href="skype:[%$array[i].code%]?call"><img src="http://mystatus.skype.com/balloon/[%$array[i].code%]"  width="110"/></a></li>
						[%/if%]
					[%elseif $array[i].type==4%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=[%$array[i].code%]@apps.messenger.live.com&mkt=zh-cn"><img style="border-style: none;" src="[%$url%]public/plug/im/msn_icon/[%$array[i].style%].gif"/></a></li>
					[%elseif $array[i].type==5%]
						[%if $array[i].style==102%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos1.sh1.china.alibaba.com/msg.atc?v=1&uid=[%$array[i].code%]"><img border="0" src="http://amos1.sh1.china.alibaba.com/online.atc?v=1&uid=[%$array[i].code%]&s=102"></a></li>
						[%elseif $array[i].style==101%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos1.sh1.china.alibaba.com/msg.atc?v=1&uid=[%$array[i].code%]"><img border="0" src="http://amos1.sh1.china.alibaba.com/online.atc?v=1&uid=[%$array[i].code%]&s=101"></a></li>
						[%elseif $array[i].style==1%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos1.sh1.china.alibaba.com/msg.atc?v=1&uid=[%$array[i].code%]"><img border="0" src="http://amos1.sh1.china.alibaba.com/online.atc?v=1&uid=[%$array[i].code%]&s=1"></a></li>
						[%elseif $array[i].style==2%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos1.sh1.china.alibaba.com/msg.atc?v=1&uid=[%$array[i].code%]"><img border="0" src="http://amos1.sh1.china.alibaba.com/online.atc?v=1&uid=[%$array[i].code%]&s=2"></a></li>
						[%/if%]
					[%/if%]
				[%/forlist%]
			</ul>
		</div>
		<div class="serverbotton">
			<ul>
				<li class="bottonstyle_grup"><a onclick="closeim();" href="#">[%$lngpack.close_im%]</a></li>
			</ul>
		</div>
		<div class="bottomline"></div>
	</div>
</div>
[%/if%]
[%if $call.call_type==2%]
<div id="right-float-box" class="im_floatonline" style="position:absolute;right:0;">
	<div class="right">
		<div class="ricon"></div>
		<div class="rtitle">[%$lngpack.call_botton%]</div>
	</div>
	<div class="float-box-content">
		<div class="toptitle">
			<div class="btitle">[%$lngpack.call_title%]</div>
		</div>
		<div class="addlist">
			<ul>
				[%forlist from=$array key=i%]
					[%if $array[i].type==1%]
					<li>[%$array[i].name%] <br/> [%$array[i].code%]</li>
					[%elseif $array[i].type==2%]
						[%if $array[i].style==1%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid=[%$array[i].code%]&site=cntaobao&s=1&charset=utf-8" ><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=[%$array[i].code%]&site=cntaobao&s=1&charset=utf-8"/></a></li>
						[%elseif $array[i].style==2%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid=[%$array[i].code%]&site=cntaobao&s=2&charset=utf-8" ><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=[%$array[i].code%]&site=cntaobao&s=2&charset=utf-8"/></a></li>
						[%/if%]
					[%elseif $array[i].type==3%]
						[%if $array[i].style==1%]
						<li>[%$array[i].name%] <br/> <a href="skype:[%$array[i].code%]?call"><img src="http://mystatus.skype.com/smallclassic/[%$array[i].code%]"/></a></li>
						[%elseif $array[i].style==2%]
						<li>[%$array[i].name%] <br/> <a href="skype:[%$array[i].code%]?call"><img src="http://mystatus.skype.com/bigclassic/[%$array[i].code%]" width="110"/></a></li>
						[%elseif $array[i].style==3%]
						<li>[%$array[i].name%] <br/> <a href="skype:[%$array[i].code%]?call"><img src="http://mystatus.skype.com/mediumicon/[%$array[i].code%]" />[%$array[i].code%]</a></li>
						[%elseif $array[i].style==4%]
						<li>[%$array[i].name%] <br/> <a href="skype:[%$array[i].code%]?call"><img src="http://mystatus.skype.com/balloon/[%$array[i].code%]"  width="110"/></a></li>
						[%/if%]
					[%elseif $array[i].type==4%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=[%$array[i].code%]@apps.messenger.live.com&mkt=zh-cn"><img style="border-style: none;" src="[%$url%]public/plug/im/msn_icon/[%$array[i].style%].gif"/></a></li>
					[%elseif $array[i].type==5%]
						[%if $array[i].style==102%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos1.sh1.china.alibaba.com/msg.atc?v=1&uid=[%$array[i].code%]"><img border="0" src="http://amos1.sh1.china.alibaba.com/online.atc?v=1&uid=[%$array[i].code%]&s=102"></a></li>
						[%elseif $array[i].style==101%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos1.sh1.china.alibaba.com/msg.atc?v=1&uid=[%$array[i].code%]"><img border="0" src="http://amos1.sh1.china.alibaba.com/online.atc?v=1&uid=[%$array[i].code%]&s=101"></a></li>
						[%elseif $array[i].style==1%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos1.sh1.china.alibaba.com/msg.atc?v=1&uid=[%$array[i].code%]"><img border="0" src="http://amos1.sh1.china.alibaba.com/online.atc?v=1&uid=[%$array[i].code%]&s=1"></a></li>
						[%elseif $array[i].style==2%]
						<li>[%$array[i].name%] <br/> <a target="_blank" href="http://amos1.sh1.china.alibaba.com/msg.atc?v=1&uid=[%$array[i].code%]"><img border="0" src="http://amos1.sh1.china.alibaba.com/online.atc?v=1&uid=[%$array[i].code%]&s=2"></a></li>
						[%/if%]
					[%/if%]
				[%/forlist%]
			</ul>
		</div>
		<div class="serverbotton">
			<ul>
				<li class="bottonstyle_grup"><a onclick="closeim();" href="#">[%$lngpack.close_im%]</a></li>
			</ul>
		</div>
		<div class="bottomline"></div>
	</div>
</div>
[%/if%]
<script type="text/javascript">
function closeim() {
	document.getElementById('right-float-box').style.visibility = 'hidden';
}
function rightBottomim() { 
	var abc = document.getElementById("right-float-box"); 
	abc.style.top = document.documentElement.scrollTop+document.documentElement.clientHeight-500+"px";  
	setTimeout(function(){rightBottomim();},50); 
}
rightBottomim(); 
</script>